using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;

namespace HengTong.Model.Db.Hr;

/// <summary>
/// 培训批次表
/// </summary>
public class SysPersonTrainBatche : BasePoco
{
    [Required]
    [Display(Name = "培训名称", Description = "培训项目名称", GroupName = "培训内容")]
    [StringLength(128)]
    public string TrainName { get; set; }

    [Display(Name = "培训开始日期", Description = "培训开始日期", GroupName = "培训内容")]
    public DateTime? TrainStartDate { get; set; }

    [Display(Name = "培训结束日期", Description = "培训结束日期", GroupName = "培训内容")]
    public DateTime? TrainEndDate { get; set; }
    
    [Display(Name = "培训考试日期", Description = "培训考试日期", GroupName = "培训内容")]
    public DateTime? ExamDate { get; set; }
    
    [Display(Name = "培训考试表")] public virtual ICollection<SysPersonTrainExam> PersonTrainExams  { get; set; }
}

